<ion-view view-title="注册账户">
  <ion-content>
    <form ng-submit="doRegist()">
      <div class="list">
        <label class="item item-input">
          <a>账号:</a>
          <input type="text" ng-model="registData.username" placeholder="有字母,数字,下划线组成">
        </label>
       <label class="item item-input">
          <a>邮箱:</a>
          <input type="text" ng-model="registData.email" placeholder="您的常用邮箱">
        </label>        
        <label class="item item-input">
          <a>手机:</a>
          <input type="text" ng-model="registData.phone" placeholder="请填写您的手机">
        </label>
        <label class="item item-input">
          <a>输入密码:</a>
          <input type="password" ng-model="registData.password" placeholder="区分大小写">  
        </label>
        <label class="item item-input">
          <a>确认密码:</a>
          <input type="password" ng-model="registData.password2" placeholder="确认密码">
        </label>
       <!--  <label>
          <font color='red' ng-if="registData.password != registData.password2 && registData.password2">两次输入的密码不匹配</font>
        </label> -->
        <button class="item button button-block button-positive" type="submit">提交</button>
      </div>
    </form>
  </ion-content>
</ion-view>
